/*上方菜单*/
function switchTab(tabid)
{
    var id = parseInt(tabid);

    for(var i=1;i<5;i++)
    {   
        var objLi = document.getElementById("Tab" + i);
        var objDiv = document.getElementById("dTab" + i);
 
        if(i == id)
        {
            objLi.className = "Selected";
            objDiv.style.display = "block";
        }
        else
        {
        
            objLi.className = "";
            objDiv.style.display = "none";
        } 
    }
}